.header-wrapper{
    width: 100%;
    background-color: #333;
    height: 40px;
    line-height: 40px;
}
.header a{
    color: #b0b0b0;
    font-size: 12px;
    display: block;
}
.header a:hover{
    color: #fff;
}
.header .line{
    color: #424242;
    font-size: 12px;
    margin: 0 8px;
}
.service,.header li{
    float: left;
}
.app:hover .qrcode{
    /*display: block;*/
    height: 148px;
}
.app .qrcode{
    /*display: none;*/
    position: absolute;
    left: -40px;
    width: 124px;
    height: 0;
    overflow: hidden;
    line-height: 1;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    /*设置样式过渡效果*/
    transition: height 0.5s;
    z-index: 999;
}
.app .qrcode img{
    width: 90px;
    height: 90px;
    margin: 17px 17px 10px;
}
.app .qrcode span{
    color: #000;
    font-size: 14px;
}
.app{
    position: relative;
}
.app:hover::after{
    display: block;
}
/*app下小三角*/
.app::after{
    display: none;
    width: 0;
    height: 0;
    content: "";
    position: absolute;
    /*display: block;*/
    border: 8px solid transparent;
    border-top: none;
    border-bottom-color: #fff;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}
.user-info,
.shop-cart{
    float: right;
}

.shop-cart{
    position: relative;
    margin-left: 26px;
}
.shop-cart a{

    width: 120px;
    background-color: #424242;
    text-align: center;
}
.shop-cart i{
    margin-right: 2px;
}

.shop-cart:hover a{
    background-color: #fff;
    color: #ff6700;
}
.shop-cart:hover .cart-detail{
    height: 100px;
}

.cart .cart-detail{
    position: absolute;
    right: 0;
    width: 260px;
    height: 0;
    overflow: hidden;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    transition: height 0.5s;
    z-index: 9999;
}
.cart-detail span{
    text-align: center;
    line-height: 100px;
    color: #000;
}

/*设置中间top*/
.top-wrapper{
    position: relative;
}
.top{
    height: 100px;
}
.top .logo{
    float: left;
    margin: 22.5px 0;
    position: relative;
    width: 55px;
    height: 55px;
    overflow: hidden;
    /*影藏logo中的文字*/
    text-indent: -999px;
}
.top .logo a{
    position: absolute;
    width: 55px;
    height: 55px;
    background-color: #ff6700;
    background-image: url("../../img/2.jpg");
    background-position: center;
    left: 0;
    transition: left 0.5s;
}
.top .logo .home{
    left: -55px;
    background-image: url("../../img/1.jpg");
}

.top .logo:hover .mi{
    left: 55px;
}
.top .logo:hover .home{
    left: 0;
}
/*设置中间导航条*/
.top .nav-wrapper{
    float: left;
    margin-left: 7px;
}

.top .nav{
    height: 100px;
    line-height: 100px;
    padding-left: 58px;
}
.nav > li{
    float: left;
}
.all-goods-wrapper{
    position: relative;
}
/*设置左侧导航条样式*/
.left-menu{
    width: 234px;
    height: 420px;
    background-color: rgba(0,0,0,.6);
    position: absolute;
    z-index: 999;
    left: -120px;
    line-height: 1;
    padding: 20px 0;
}
.nav .left-menu li a{
    display: block;
    height: 42px;
    line-height: 42px;
    color: #fff;
    margin-right: 0;
    padding: 0 30px;
    font-size: 14px;
}
.nav .left-menu li a:hover{
    color: #fff;
    background-color: #ff6700;
}
.left-menu a i{
    float: right;
    line-height: 42px;
    height: 42px;
    font-size: 18px;
}

.nav-wrapper li a{
    font-size: 16px;
    margin-right: 20px;
    display: block;
}
.nav-wrapper li a:hover{
    color: #ff6700;
}

.nav-wrapper .all-goods{
    visibility: hidden;
}

.nav-wrapper .goods-info{
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    top: 100px;
    transition: height 0.3s;
    background-color: #fff;
    z-index: 9999;
}
/*.nav li:not(:first-of-type,:nth-last-of-type(2),:nth-last-of-type(1)):hover ~ .goods-info,*/
.nav .show-goods:hover ~ .goods-info,
.nav .goods-info:hover{
    height: 228px;
    box-shadow: 0 5px 5px rgba(0,0,0,.1);
    border-top: 1px solid rgba(224,224,224);
}
.search-wrapper{
    width: 296px;
    height: 50px;
    background-color: red;
    float: right;
    margin-top: 25px;
}
.search-wrapper .search-inp{
    box-sizing: border-box;
    width: 244px;
    float: left;
    padding: 0 10px;
    height: 50px;
    font-size: 16px;
    border: 1px solid rgb(224,224,224);
    outline: none;
}
/*设置input获取焦点时的样式*/
.search-wrapper .search-inp:focus{
    border: 1px solid #ff6700;
}
.search-wrapper .search-inp:focus + button{
    border: 1px solid #ff6700;
    border-left: none;

}
.search-wrapper .search-btn{
    float: left;
    height: 50px;
    width: 52px;
    padding: 0;
    background-color: #fff;
    color: #616161;
    font-size: 16px;
    border: 1px solid rgb(224,224,224);
    border-left: none;
}
.search-wrapper .search-btn:hover{
    border: none;
    background-color: #fff;
    color: #ff6700;
}
/*设置banner*/
.banner{
    position: relative;
    height: 460px;
}
.banner .img-list li{
    position: absolute;
}
.banner img{
    width: 100%;
    vertical-align: top;
}

/*设置banner 小点*/
.pointer{
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 20px 30px;
}
.pointer a{
    float: left;
    width: 6px;
    height: 6px;
    background-color: rgba(0,0,0,.4);
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 50%;
    margin: 0 6px;
}

.pointer a:hover,
.pointer .active{
    border-color: rgba(0,0,0,.4);
    background-color: rgba(255,255,255,.5);
}

/*设置箭头*/
.prev-next a{
    width: 41px;
    height: 69px;
    background-image: url("../img/icon-slides.png");
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}
.prev-next .prev{
    left: 234px;
    background-position: -84px 0;
}
.prev-next .prev:hover{
    background-position: 0 0;
}

.prev-next .next{
    right: 0;
    background-position: -125px 0;
}

.prev-next .next:hover{
    background-position: -42px 0;
}

/*设置回到顶部的样式*/
.to-top{
    width: 26px;
    height: 206px;
    background-color: #ff6700;
    position: fixed;
    bottom: 100px;
    right: 50%;
    margin-right: -637px;
}

/*设置广告区域样式*/
.ad{
    height: 170px;
    margin-top: 14px;
    font-size: 14px;
}
.ad .shortcut,
.ad .imgs,
.ad li{
    float: left;
}
.ad .shortcut{
    width: 234px;
    height: 170px;
    background-color: #5f5750;
    margin-right: 12px;
    padding-top: 2px;
}
.ad .shortcut li{
    position: relative;
}
.ad .shortcut li::before{
    content: "";
    position: absolute;
    height: 1px;
    width: 64px;
    background-color: #665e57;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
}
.ad .shortcut li::after{
    content: "";
    position: absolute;
    height: 70px;
    width: 1px;
    background-color: #665e57;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: 2px;

}

.ad .shortcut a{
    display: block;
    color: #cfccca;
    height: 84px;
    width: 76px;
    text-align: center;
    overflow: hidden;
}
.ad .shortcut a:hover{
    color: #fff;
}
.ad .shortcut i{
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
}


.ad .imgs li{
    width: 316px;
    margin-right: 15px;
}
.ad .imgs li:last-child{
    margin-right: 0;
}
.ad .imgs img{
    width: 100%;
    vertical-align: top;
}
